package manager 
{
	/**
	 * @author user
	 */
	public class LogMgr {
		
		static public var LOGSWITCH:Boolean = true;
		
		static public function log(logStr:String):void{
			if(LOGSWITCH){
				trace(logStr);
			}
		}
		
		static public function setSwitch(onOrOff:Boolean):void{
			LOGSWITCH = onOrOff;
		}
		
		static public function error(str:String):void
		{
			throw new Error(str);
		}
	}
}
